package com.database.dao;

import java.util.List;

import com.database.model.Order;

public interface OrderMapper {
	List<Order> selectByUserId(Order order);
	Order selectByKey(Order order);
	int deleteByKey(Order order);
	int insert(Order order);
	int insertSelective(Order order);
	int updateStatusByKey(Order order);
	List<Order> getAll();
	
	Order selectKeyByOrder(Order order);
	List<Order> selectByShopId(Order order);
	
	double selectSumPrice(Order order);
	int selectCount(Order order);
	double selectRank(Order order);
}
